<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>错题本 - 牛津自然拼读学习应用</title>
    <link rel="stylesheet" href="/static/css/style.css">
</head>
<body>
    <div class="container">
        <header>
            <h1>牛津自然拼读学习应用</h1>
        </header>
        
        <main>
            <div class="wrong-questions-section">
                <h2>错题本</h2>
                
                <div class="wrong-questions-stats">
                    <div class="stat-item">
                        <span class="label">总错题数:</span>
                        <span id="total-wrong">0</span>
                    </div>
                    <div class="stat-item">
                        <span class="label">复习次数:</span>
                        <span id="review-count">0</span>
                    </div>
                </div>
                
                <div class="wrong-questions-list">
                    <div id="wrong-questions-container">
                        <!-- 错题将通过JavaScript动态填充 -->
                    </div>
                </div>
                
                <div class="wrong-questions-actions">
                    <button class="btn-primary" onclick="startReview()">开始复习</button>
                    <button class="btn-secondary" onclick="window.location.href='/'">返回首页</button>
                </div>
            </div>
        </main>
        
        <footer>
            <p>&copy; 2025 牛津自然拼读学习应用</p>
        </footer>
    </div>
    
    <script src="/static/js/wrong_questions.js"></script>
</body>
</html>